A Capability-Based Module System for Authority Control

نویسندگان

  • Darya Melicher
  • Yangqingwei Shi
  • Alex Potanin
  • Jonathan Aldrich
چکیده

The principle of least authority states that each component of the system should be given authority to access only the information and resources that it needs for its operation. This principle is fundamental to the secure design of software systems, as it helps to limit an application’s attack surface and to isolate vulnerabilities and faults. Unfortunately, current programming languages do not provide adequate help in controlling the authority of application modules, an issue that is particularly acute in the case of untrusted third-party extensions. In this paper, we present a language design that facilitates controlling the authority granted to each application module. The key technical novelty of our approach is that modules are firstclass, statically typed capabilities. First-class modules are essentially objects, and so we formalize our module system by translation into an object calculus and prove that the core calculus is typesafe and authority-safe. Unlike prior formalizations, our work defines authority non-transitively, allowing engineers to reason about software designs that use wrappers to provide an attenuated version of a more powerful capability. Our approach allows developers to determine a module’s authority by examining the capabilities passed as module arguments when the module is created, or delegated to the module later during execution. The type system facilitates this by identifying which objects provide capabilities to sensitive resources, and by enabling security architects to examine the capabilities passed into and out of a module based only on the module’s interface, without needing to examine the module’s implementation code. An implementation of the module system and illustrative examples in the Wyvern programming language suggest that our approach can be a practical way to control module authority. 1998 ACM Subject Classification D.3.3 Language Constructs and Features

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Capability-Based Module System for Authority Control (Artifact)

This artifact is intended to demonstrate the module system of the Wyvern programming language and consists of a Linux virtual machine with a snapshot of the Wyvern programming language’s codebase. The Wyvern codebase contains a test suite that corresponds to the code examples in the paper accompanying the artifact. In addition, the artifact contains a document describing how to compile and run ...

متن کامل

A Hybrid Switching Technique for Single-Phase AC-Module PV System to Reduce Power Losses and Minimize THD

This paper proposes a hybrid switching technique for a domestic PV system with AC-module architecture. In this PV system, independent control of PV modules, which are directly connected to DC terminals of a single-phase cascaded multilevel inverter, makes module-level MPPT possible to extract maximum available solar energy, especially in partial shading conditions. As one of the main contributi...

متن کامل

A Practical Formal Model for Safety Analysis in Capability-Based Systems

We present a formal system that models programmable abstractions for access control. Composite abstractions and patterns of arbitrary complexity are modeled as a configuration of communicating subjects. The subjects in the model can express behavior that corresponds to how information and authority are propagated in capability systems. The formalism is designed to be useful for analyzing how in...

متن کامل

بهبود قابلیت گذر از خطای منابع تولید پراکنده مبتنی بر اینورتر با استفاده از محدود کننده‌ی جریان خطا

By increasing the penetration level of the inverter-based distributed generations (IBDGs) in power system, their fault ride through capability has become one of the essential issues of the new grid codes. This paper proposes a novel method to limit inverter fault currents which are used in DGs. To achieve FRT, interface-inverter operates as a controlled voltage source during normal operation as...

متن کامل

Non-delegatable authorities in capability systems

We present a novel technique, known as the non-delegatable authority (NDA), for distributing authority to unconfined subjects in capability systems that prevents them from sharing the exact same authority that they have been given with anyone else. This feature is present in common systems based on access control lists (ACLs) in which one may hand out a permission without handing out the associ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2017